package com.example.educenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author wlg
 * @create_time 2021-09-08 下午 20:22
 * @function
 */
@ComponentScan("com.example")
@SpringBootApplication
@MapperScan("com.example.educenter.mapper")
@EnableDiscoveryClient //注册中心中注册
public class UcenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class,args);

    }
}
